depreciation calculation by straight line method